<template>
  <div class="dingdan h3">
    订单号：{{ $route.query.orderId }}
    <div class="allprice">￥{{ countmoney }}</div>
    <div>
      请选择支付方式
      <div>支付宝支付</div>
      <div>微信支付</div>
    </div>
    <button @click="pay">确认支付</button>
  </div>
</template>

<script>
import { Toast } from "vant";
export default {
  data() {
    return {
      countmoney: "",
    };
  },
  mounted() {
    let countmoney = JSON.parse(sessionStorage.getItem("orderInfo")).countmoney;
    this.countmoney = countmoney;
  },
  methods: {
    pay(){
      Toast("尚未开通支付选项")
    }
  }
};
</script>

<style>
.dingdan {
  text-align: center;
  margin-top: 0.4rem;
}
.allprice {
  margin-top: 0.4rem;
  font-size: 0.6rem;
  font-weight: bold;
}
</style>